package cn.zn.modules.pz.his.entity;

import lombok.Data;
import org.mongodb.morphia.annotations.Entity;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

@Data
@Entity
@Document(collection = "pz_money")
public class PzMoney {
    @Field("ap")
    private Integer ap;
    @Field("main_id")
    private String mainId;
    @Field("money_id")
    private String moneyId;
    @Field("create_time")
    private Date createTime;
    @Field("create_user_id")
    private String createUserId;
    @Field("is_active")
    private Boolean isActive;
    @Field("remark")
    private String remark;
    @Field("sort_num")
    private Integer sortNum;
    @Field("update_time")
    private Date updateTime;
    @Field("update_user_id")
    private String updateUserId;
    @Field("version")
    private Integer version;
    @Field("money")
    private Double money;
    @Field("money_type_code")
    private String moneyTypeCode;
    @Field("money_info_id")
    private String moneyInfoId;
    @Field("money_freeze_id")
    private String moneyFreezeId;
    @Field("project_code")
    private String projectCode;
    @Field("project_name")
    private String projectName;
    @Field("cate_code")
    private String cateCode;
    @Field("cate_name")
    private String cateName;
    @Field("can_edit")
    private Boolean canEdit;

}
